package scsc.web.xzgl.inspection.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import scsc.web.system.AppActionForm;
import scsc.web.xzgl.inspection.data.InspectionData;

public class InspectionForm extends AppActionForm {

	private InspectionData data;
	private InspectionData conditionData;
	
	public InspectionForm() {
		super();
		data=new InspectionData();
		conditionData=new InspectionData();
		// TODO Auto-generated constructor stub
	}

	public InspectionData getConditionData() {
		return conditionData;
	}

	public void setConditionData(InspectionData conditionData) {
		this.conditionData = conditionData;
	}

	public InspectionData getData() {
		return data;
	}

	public void setData(InspectionData data) {
		this.data = data;
	}
	
	public void reset(ActionMapping mapping,HttpServletRequest request){
		super.reset(mapping,request);
		data.reset();
		conditionData.reset();	
	}

}
